package com.hh.common.request.merchant;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AddMerchantRequest {

    @NotBlank(message = "商户名称不能为空")
    private String merName;

    private Integer status;

    @NotBlank(message = "商户登录账号不能为空")
    private String account;

    private String pwd;

    private Integer classificationId = 1;

    private String merFullName;

    @NotBlank(message = "商户手机号不能为空")
    private String merPhone;

    private String commissionRate;

    private String merKeywords;

    private String merAddress;

    @NotBlank(message = "商户merAppId不能为空")
    private String merAppId;

    @NotBlank(message = "商户merAppSecret不能为空")
    private String merAppSecret;

    private Integer sort;
}
